import Vue from 'vue'
import App from './App.vue'


// 导入全局的样式

import './assets/reset.css'


//全局的filter
Vue.filter("Reverse",function(value) {
	if (!value){
		return '';
	} 

	// abc -- "abc"     --- ['a','b','c']-  ---['c','b','a'] ,  ''
	return value.toString().split('').reverse().join('');
});

Vue.filter("toUpper2",function (value){
	return value.toString().toUpperCase();
})

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')

